import instance from "../base"

export const getGoodsList = (search) =>{
    return instance.get('/searchGoods', {
        params:{
            searchKey: search
        },
        headers: {
            Authorization: localStorage.getItem('token')
        }
    })
}